<div class="updatePanel" style="margin: 20px 0px;">
	<?php echo form_open('price_rule/update_price_rule'); ?>
	<br />

	<div class="titleStyle1">Update Price Rule</div>
	<div class="errorMessage">
		<?php echo validation_errors(); ?>
	</div>
	<div>
		<input name="price_rule_id" type="hidden"
			value="<?php echo $result->price_rule_id;?>" />
		<table class="">
			<tr>
				<td>Percentage of current stock <br />over the minimum stock
				</td>
				<td><input class="textboxStyle4" type="number" min="0"
					name="percent" value="<?php echo $result->price_rule_percent;?>" />
				</td>
			</tr>
			<tr>
				<td>Percentage of Discount</td>
				<td><input class="textboxStyle4" type="number" min="0"
					name="discount" value="<?php echo $result->price_rule_discount;?>" />
				</td>
			</tr>
		</table>

	</div>
	<br />
	<div>
		<input type="submit" class="buttonStyle1" value="update">
	</div>
	<?php echo form_close(); ?>
</div>
